using IM.Easy.Infrastructure.Query;
using System.ComponentModel.DataAnnotations;


namespace IM.Easy.CoreServices.Dto
{
    /// <summary>
    /// 系统参数表查询实体
    /// </summary>
    public class SysParamsQueryDto : QueryBase
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 键值
        /// </summary>
        public string Value { get; set; }
        /// <summary>
        /// 系统内置标识
        /// </summary>
        public bool? IsSystem { get; set; }
    }

    /// <summary>
    /// 系统参数表dto
    /// </summary>
    public class SysParamsDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 键值
        /// </summary>
        public string Value { get; set; }
        /// <summary>
        /// 系统内置标识
        /// </summary>
        public bool IsSystem { get; set; }
        /// <summary>
        /// 键名
        /// </summary>
        public string Key { get; set; }
    }
}
